package com.glory.hikvisionmobile.bean.mapping;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yi.zhang
 * @date 2019/11/27
 * @desc
 */
public class MapPingBean implements Serializable {
    private int xNum;

    private int yNum;

    private List<CarrierNumBean> durableNums;

    private List<ComponentBean> xPdaComponentByXYs;

    public int getxNum() {
        return xNum;
    }

    public void setxNum(int xNum) {
        this.xNum = xNum;
    }

    public int getyNum() {
        return yNum;
    }

    public void setyNum(int yNum) {
        this.yNum = yNum;
    }

    public List<ComponentBean> getxPdaComponentByXYs() {
        if (xPdaComponentByXYs == null) {
            return new ArrayList<>();
        }
        return xPdaComponentByXYs;
    }

    public void setxPdaComponentByXYs(List<ComponentBean> xPdaComponentByXYs) {
        this.xPdaComponentByXYs = xPdaComponentByXYs;
    }

    public List<CarrierNumBean> getDurableNums() {
        if (durableNums == null) {
            return new ArrayList<>();
        }
        return durableNums;
    }

    public void setDurableNums(List<CarrierNumBean> durableNums) {
        this.durableNums = durableNums;
    }

}
